package com.lingtu.shopwxserver.pojo;

/**
 * @ClassName BaseMessage
 * @Description 回复消息的基类; 根据xml格式，分析数据结构，构建bean类；
 * 原理：根据微信平台发送的xml格式请求信息解析，将经过后台处理的xml格式返回给微信公众平台。语音消息，图片消息都如此。
 * @Author MaShuai
 * @Date 2018/11/22 11:16
 * @Version 1.0
 **/
public class BaseMessage {
    protected String ToUserName;
    protected String FromUserName;
    protected long CreateTime;
    protected String MsgType;

    public BaseMessage() {
        super();
    }

    public String getToUserName() {
        return ToUserName;
    }

    public void setToUserName(String toUserName) {
        ToUserName = toUserName;
    }

    public String getFromUserName() {
        return FromUserName;
    }

    public void setFromUserName(String fromUserName) {
        FromUserName = fromUserName;
    }

    public long getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(long createTime) {
        CreateTime = createTime;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

}
